/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

/** @author
 *  ITEC.HCMUS.EDU.VN
 *  Ngô Huy Đạt
 *  0869005
 *  nhdat.itec@gmail.com
 */
public class NamHocPOJO {
    private String MaNamHoc;
    private String NamHoc;


    public String getMaNamHoc() {
        return MaNamHoc;
    }
    public void setMaNamHoc(String MaNamHoc) {
        this.MaNamHoc = MaNamHoc;
    }
    public String getNamHoc() {
        return NamHoc;
    }
    public void setNamHoc(String NamHoc) {
        this.NamHoc = NamHoc;
    }


    public NamHocPOJO(String MaNamHoc, String NamHoc){
        this.MaNamHoc = MaNamHoc;
        this.NamHoc = NamHoc;
    }
    public NamHocPOJO(){
        this.MaNamHoc = "";
        this.NamHoc = "";
    }
    public NamHocPOJO(NamHocPOJO n){
        this.MaNamHoc = n.MaNamHoc;
        this.NamHoc = n.NamHoc;
    }


    @Override
    public String toString(){
        return this.NamHoc;
    }

    //END
}
